<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>

<script type="text/javascript" language="javascript" src="/js/ga.js"></script>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="Content-Script-Type" content="text/javascript" />
	<meta http-equiv="Content-Style-Type" content="text/css" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<title>::: IP-DESK Intranet System :::</title>
	<link rel="stylesheet" type="text/css" href="/css/reset.css"/>
	<link rel="stylesheet" type="text/css" href="/css/business.css"/>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<link rel="stylesheet" href="/js/jquery-ui/css/jquery.ui.all.css"/>
	<script type="text/javascript" language="javascript" src="/js/common.js"></script>
	<script type="text/javascript" language="javascript" src="/js/png.js"></script>
	<script type="text/javascript" language="javascript" src="/js/main_menu.js"></script>

	<script type="text/javascript" src="/js/jquery-1.6.2.js"></script>
	<script src="/js/jquery-ui/jquery.ui.core.js"></script>
	<script src="/js/jquery-ui/jquery.ui.widget.js"></script>
	<script src="/js/jquery-ui/jquery.ui.datepicker.js"></script>
	<script src="/js/jquery-ui/jquery.effects.core.js"></script>
	<script src="/js/jquery-ui/jquery.effects.slide.js"></script>
	
	<script type="text/javascript" src="/js/common_jquery.js"></script>
	<script type="text/javascript" src="/js/business.js"></script>
</head>

<input type="hidden" name="companySeq" value="<s:property value="businessInfoDetail.companySeq"/>"/>

<body>
<div id="wrap">
  <dl class="SubContents_Tit">
    <dd><img src="/images/business/SubContents_Tit_01.gif" width="370" height="42" alt="기업정보 관리" /></dd>
    <dd><img src="/images/business/SubTit_02.gif" width="140" height="30" alt="기업 정보 조회" /></dd>
  </dl>
  <dl class="SubContents_Contents_Search"><!-- 업체 고유번호 -->    
    <dd><img src="/images/business/Sub_CenterNum.gif" width="109" height="21" alt="업체 고유번호" /></dd>
    <dd><s:property value="businessInfoDetail.companyCode"/></dd>
  </dl><!-- 업체 고유번호 -->
  <ul class="Tab_area"><!-- 종류 탭 -->    
    <li><a href="/biz/bizDetail.desk?companySeq=<s:property value="businessInfoDetail.companySeq"/>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Tab01','','/images/business/Tab_01_on.gif',0)"><img src="/images/business/Tab_01_on.gif" alt="일반 현황" name="Tab01" width="114" height="34" border="0" id="Tab01" /></a></li>
    <li><a href="/biz/bizCustomerDetail.desk?companySeq=<s:property value="businessInfoDetail.companySeq"/>&companyCode=<s:property value="businessInfoDetail.companyCode"/>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Tab02','','/images/business/Tab_02_on.gif',0)"><img src="/images/business/Tab_02_off.gif" alt="담당자 정보" name="Tab02" width="100" height="34" border="0" id="Tab02" /></a></li>
  </ul><!-- 종류 탭 -->  
  <dl class="SubContents_Contents_Date"><!-- 업체 고유번호 -->   
   <dd>&nbsp;<!-- 마지막 수정일 : <span class="TEXT_Red_Bold"> 2011. 8. 1</span>--></dd>
  </dl> 
  <dl class="LIst_Zone"><!-- 리스트 -->
    <h2 class="SubContents_Title"><img src="/images/business/SubTit_Contents_01.png" width="100" height="30" alt="현지현황 " /></h2>
    <dd>
      <table class="viewboard" border="1" cellspacing="0" summary="글 내용을 표시">
        <caption> 글 읽기</caption>
        <colgroup><col width="139px"><col width="215px"><col width="139px"><col width="212px"></colgroup>
        <tbody>
          <tr>
            <th scope="row" class="line_LeftTop">업체명</th>
            <td class="line_LeftTop"><s:property value="businessInfoDetail.localName"/></td>
            <th scope="row" class="line_LeftTop">업종</th>
            <td class="line_LeftTop"><s:property value="businessInfoDetail.localBizCategory"/></td>
          </tr>
          <tr>
            <th scope="row">사업자 번호</th>
            <td><s:property value="businessInfoDetail.localBizNo"/></td>
            <th scope="row">업태</th>
            <td><s:property value="businessInfoDetail.localBizType"/></td>
          </tr> 
          <tr>
            <th scope="row">매출</th>
            <td>
            	<c:choose>
	            	<c:when	 test="${businessInfoDetail.localSales > 0}">
            			<s:property value="businessInfoDetail.localSales"/> 백만원
            		</c:when>
            		<c:otherwise>
            			-
            		</c:otherwise>
            	</c:choose>
            	
            </td>
            <th scope="row">종업원수</th>
            <td><s:property value="businessInfoDetail.localEmployeeCount"/></td>
          </tr>  
          <tr>
            <th scope="row">구분</th>
            <td colspan="3"><s:property value="businessInfoDetail.localDivisionCode"/></td>
          </tr>    
          <tr>
            <th scope="row">주소</th>
            <td colspan="3"><s:property value="businessInfoDetail.localAddr"/></td>
          </tr>                                       
        </tbody>
      </table>              
    </dd>
  </dl><!-- 리스트 -->
  <dl class="LIst_Zone"><!-- 리스트 -->
    <h2 class="SubContents_Title"><img src="/images/business/SubTit_Contents_02.gif" width="109" height="26" alt="본사(한국) 현황 " /></h2>  
    <dd>
      <table class="viewboard" border="1" cellspacing="0" summary="글 내용을 표시">
        <caption> 글 읽기</caption>
        <colgroup><col width="139px"><col width="215px"><col width="139px"><col width="212px"></colgroup>
        <tbody>
          <tr>
            <th scope="row" class="line_LeftTop">업체명</th>
            <td class="line_LeftTop"><s:property value="businessInfoDetail.headName"/></td>
            <th scope="row" class="line_LeftTop">업종</th>
            <td class="line_LeftTop"><s:property value="businessInfoDetail.headBizCategory"/></td>
          </tr>
          <tr>
            <th scope="row">사업자 번호</th>
            <td><s:property value="businessInfoDetail.headBizNo"/></td>
            <th scope="row">업태</th>
            <td><s:property value="businessInfoDetail.headBizType"/></td>
          </tr> 
          <tr>
            <th scope="row">매출</th>
            <td>
            	<c:choose>
	            	<c:when	 test="${businessInfoDetail.headSales > 0}">
            			<s:property value="businessInfoDetail.headSales"/> 백만원
            		</c:when>
            		<c:otherwise>
            			-
            		</c:otherwise>
            	</c:choose>
            </td>
            <th scope="row">구분</th>
            <td><s:property value="businessInfoDetail.headSizeCode"/></td>
          </tr>   
          <tr>
            <th scope="row">주소</th>
            <td colspan="3"><s:property value="businessInfoDetail.headAddr"/></td>
          </tr>                                        
        </tbody>
      </table>              
    </dd>
  </dl><!-- 리스트 -->
  
  <dl class="List_Btn_area"><!-- 버튼 부분 -->
    <dd class="Left_Zone"><a href="/biz/bizListForUser.desk"><img src="/images/notice/btn_list.gif" alt="목록" width="52" height="26" border="0" /></a></dd>
    <dd class="Right_Zone">
    	<a href="/biz/bizModifyForm.desk?companySeq=<s:property value="businessInfoDetail.companySeq"/>"><img src="/images/business/btn_edit.gif" width="113" height="26" alt="기업정보 수정" /></a>
    	<img src="/images/business/btn_del.gif" id="btn_biz_company_del" alt="기업정보 삭제" style="cursor:pointer;"/>
    </dd>
   
  </dl><!-- 버튼 부분 --> 
</div>
</body>
</html>